using System.Data;
using ET;
using DAL;
namespace BLL
{
    public class Districts_BLL
    {
        public static Districts_DAL cls = new Districts_DAL();

        #region Getdata

        public DataTable BindGirdDistricts(string keywords)
        {
            return cls.BindGirdDistricts(keywords);
        }

        public DataTable BindGirdDistrictsDetail(int id)
        {
            return cls.BindGirdDistrictsDetail(id);
        }

        public DataTable BindGirdDistricts_Province(int id)
        {
            return cls.BindGirdDistricts_Province(id);
        }

        public DataTable GetDistrictsFillter(int id)
        {
            return Districts_DAL.GetDistrictsFillter(id);
        }

        public DataTable GetDistrictsDetail(int id)
        {
            return Districts_DAL.GetDistrictsDetail(id);
        }
        #endregion

        #region Insert

        public static bool InsertDistricts(Districts_ET obj)
        {
            return cls.InsertDistricts(obj);
        }

        #endregion

        #region Update

        public static bool UpdateDistricts(Districts_ET obj)
        {
            return cls.UpdateDistricts(obj);
        }

        #endregion

        #region Delete

        public static bool DeleteDistricts(int id)
        {
            return cls.DeleteDistricts(id);
        }

        #endregion
    }
}